package com.ac.input.dm;

import java.util.Date;

import com.caac.core.dm.BaseDm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright 2004</p>
 * <p>Company: </p>
 * @author <a href="mailto:lianzs@agilecentury.com">lianzs</a>
 * @version 1.0
 */

public class HndLog extends BaseDm {
    private String id;
    private String grpName;
    private String subName;
    private String optDesc;
    private String operator;
    private Date optTime;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGrpName() {
        return this.grpName;
    }

    public void setGrpName(String grpName) {
        this.grpName = grpName;
    }

    public String getSubName() {
        return this.subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getOptDesc() {
        return this.optDesc;
    }

    public void setOptDesc(String optDesc) {
        this.optDesc = optDesc;
    }

    public String getOperator() {
        return this.operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getOptTime() {
        return this.optTime;
    }

    public void setOptTime(Date optTime) {
        this.optTime = optTime;
    }

    protected int doHashCode() {
        return getHashCodeBuilder().append(id).toHashCode();
    }

    protected boolean doEquals(Object object) {
        HndLog other = (HndLog) object;
        return getEqualsBuilder().append(id, other.id).isEquals();
    }
}
